package com.day12.ex06;

public class ObjectDemo {
    public static void main(String[] args) {
        Student s1=new Student();
        s1.setName("张三");
        s1.setAge(20);
        Student s2=new Student("李四",30);
        s2.setName("林青霞");
        s2.setAge(30);
        System.out.println(s1.equals(s2));
    }
}
